let hostUrl = "http://oemdemo.gsdata.cn";

//测试
let baseURLApi = hostUrl + "/api";

// 测试域名
const baseURL = "http://devrmt.gstai.com";

//网评任务的接口地址
let taskUrl = "http://wjwp.newmin.cn/api";

const jinwu = process.env.NODE_ENV === "production" ? "http://xhoa.hjrich.cn" : "jinwu/";
const bjwj = process.env.NODE_ENV === "production" ? "http://bjwj.gstai.com/api" : "bjwj/";
// const test = process.env.NODE_ENV === "production" ? "http://devrmt.gstai.com" : "test/"
const test = process.env.NODE_ENV === "production" ? "http://bjwjrmt.gstai.com" : "test/";
const upload = process.env.NODE_ENV === "production" ? "http://bsddata.oss-cn-hangzhou.aliyuncs.com" : "upload";

export default {
  baseURLApi,
  taskUrl,
  baseURL,
  bjwj,
  jinwu,
  test,
  upload,
};
